﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ERP.Domain.Entities
{
    /// <summary>
    /// 供货商信息表
    /// </summary>
    public class SupplierCustomerInfo
    {
        [Key]
        public int SupplierCustomerId { get; set; }
        /// <summary>
        /// 供应商名称
        /// </summary>
        public string Supplier { get; set; }

        /// <summary>
        /// 联系人
        /// </summary>
        public string Contacts { get; set; }

        /// <summary>
        /// 联系电话
        /// </summary>
        public string PhoneNum { get; set; }

        /// <summary>
        /// 电子邮箱
        /// </summary>
        public string Email { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Description { get; set; }

        /// <summary>
        /// 是否系统自带（0==系统，1==非系统）
        /// </summary>
        public int Isystem { get; set; }

        /// <summary>
        /// 类型
        /// </summary>
        public string Type { get; set; }

        /// <summary>
        /// 启用状态
        /// </summary>
        public bool Enabled { get; set; }

        /// <summary>
        /// 预收款
        /// </summary>
        public decimal AdvanceIn { get; set; }

        /// <summary>
        /// 期初应付
        /// </summary>
        public decimal BeginNeedGet { get; set; }

        /// <summary>
        /// 期初应付
        /// </summary>
        public decimal BeginNeedPay { get; set; }

        /// <summary>
        /// 累计应收
        /// </summary>
        public decimal AllNeedGet { get; set; }

        /// <summary>
        /// 累计应付
        /// </summary>
        public decimal AllNeedPay { get; set; }

        /// <summary>
        /// 传真
        /// </summary>
        public string Fax { get; set; }

        /// <summary>
        /// 手机号码
        /// </summary>
        public string Telephone { get; set; }

        /// <summary>
        /// 地址
        /// </summary>
        public string Address { get; set; }

        /// <summary>
        /// 纳税人识别号
        /// </summary>
        public string TaxNum { get; set; }

        /// <summary>
        /// 开户行
        /// </summary>
        public string BankName { get; set; }

        /// <summary>
        /// 账号
        /// </summary>
        public string AccountNumber { get; set; }

        /// <summary>
        /// 税率
        /// </summary>
        public decimal TaxRate { get; set; }

        /// <summary>
        /// 排序
        /// </summary>
        public string Sort { get; set; }

        /// <summary>
        /// 租户 id
        /// </summary>
        public long TenantId { get; set; }

        /// <summary>
        /// 删除标记，0 未删除，1 删除，默认 0
        /// </summary>
        public string DeleteFlag { get; set; }
    }
}
